package com.lyh.system.domain.resp;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.lyh.common.annotation.Excel;
import com.lyh.common.core.domain.BasePageEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@ApiModel(value = "体现返回")
@Data
public class UserCashAdvancePageResp  {

    @ApiModelProperty(example = "流水号")
    private String orderNum;

    @ApiModelProperty(example = "会员iD")
    @Excel(name ="会员iD")
    private String memberId;

//    @ApiModelProperty(example = "姓名")
    @ApiModelProperty(example = "账号")
    @Excel(name ="账号")
    private String nickName;

    @ApiModelProperty(example = "状态")
    private String status;


//    @Excel(name ="提现账户")
//    @ApiModelProperty(example = "账户")
//    private String userName;

    @Excel(name ="手机号")
    @ApiModelProperty(example = "手机号")
    private String phonenumber;

    @ApiModelProperty(example = "id")
    @JsonSerialize(using = ToStringSerializer.class)

    private Long id;

    @JsonSerialize(using = ToStringSerializer.class)
    private Long userId;


    @ApiModelProperty(example = "提现方式")
    private String advanceType;
    @ApiModelProperty(example = "提现方式")
    private String advanceTypeName;


    @Excel(name ="提现来源")
    @ApiModelProperty(example = "提现来源")
    private String advanceSourceName;

    private String advanceSource;

    @Excel(name ="提现金额")
    private BigDecimal advanceMoney;

    private String memo;

    @JsonSerialize(using = ToStringSerializer.class)
    private Long auditUserId;

    private String auditTime;



    @Excel(name ="创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private String createTime;
    @Excel(name ="状态")
    @ApiModelProperty(example = "状态")
    private String statusName;

    @ApiModelProperty(example = "手续费")
    @Excel(name ="手续费")
    private BigDecimal serviceFee;


    @Excel(name ="提现账号")
    @ApiModelProperty(example = "提现账号") //支付宝账号
    private String zfbAccount;

    @Excel(name ="提现姓名")
    @ApiModelProperty(example = "提现姓名")//支付宝真是姓名
    private String userName;
}
